//
//  DebugConnection.h
//  iBasic
//
//  Created by Andrew Barry on 12/04/08.
//  Copyright 2008 Barry Computer Services. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class JavascriptProject;

@interface DebugConnection : NSObject {
	JavascriptProject *project;
	BOOL connected;
	int i32ConnectFD;
}
-(void) acceptConnection: (NSNumber *) sock;
-(void)kill;
-(void) sendPacket: (NSDictionary *) dict;
-(void) sendCommand: (NSString *) action;
@end

JavascriptProject *projectForDebugKey(NSString * key);
